import Jdrequest from "../../index";
import Vue from "vue";
const instance = new Vue();
export function getSystemInfo(data) {
  return Jdrequest.post({
    url: "/system/info",
    data,
    interceptor: {
      responseInterceptor(res) {
        if (!res.success) {
          instance.$message({
            message: res.msg,
            type: "error",
          });
        }
        return res;
      },
    },
  });
}
